@echo off
pyinstaller --onefile --distpath ./build/dist --workpath ./build/temp --specpath ./build/specs --noconfirm app_main.py

mkdir "./build/dist/logs" 2>nul

copy /Y app_config.yaml "./build/dist/" >nul

echo Build completed! 
echo Exe and logs directory are in ./build/dist/
echo app_main.py has been copied to dist folder.
pause